﻿<Window x:Class="frmAdminLetterRegister"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Stock Letter Registration" Height="568" Width="821" Background="Gray" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <GroupBox Header="Stock Letter Registration" Margin="8,5,9,10" Name="GroupBox1">
            <Grid>
                <GroupBox Header="Client Type" Height="86" Margin="201,5,0,0" Name="GroupBox5" VerticalAlignment="Top" HorizontalAlignment="Left" Width="137">
                    <Grid>
                        <RadioButton Height="19" Margin="10,4,29,0" Name="radClientAll" VerticalAlignment="Top">All</RadioButton>
                        <RadioButton Height="20" Margin="10,0,29,-2" Name="radClientCorp" VerticalAlignment="Bottom">Corporate</RadioButton>
                        <RadioButton Margin="10,27,52,20" Name="radClientPrivate">Private</RadioButton>
                    </Grid>
                </GroupBox>
                <GroupBox Header="Letter Type" Height="88" HorizontalAlignment="Left" Margin="4,4,0,0" Name="GroupBox6" VerticalAlignment="Top" Width="191">
                    <Grid Height="72">
                        <RadioButton Height="15" Margin="3,5,59,0" Name="radTypeAll" VerticalAlignment="Top">All</RadioButton>
                        <RadioButton Margin="3,26,27,31" Name="radType">Select from List</RadioButton>
                        <ComboBox BorderBrush="Black" Height="22.8" Margin="1,0,4,4" Name="drpLetterType" VerticalAlignment="Bottom" />
                    </Grid>
                </GroupBox>
                <GroupBox Header="Output Type" Margin="345,4,236,0" Name="GroupBox2" Height="90" VerticalAlignment="Top">
                    <Grid Height="72">
                        <RadioButton Margin="3,5,59,52" Name="radOutputAll">All</RadioButton>
                        <RadioButton Margin="3,26,27,31" Name="radOutputList">Select from List</RadioButton>
                        <ComboBox BorderBrush="Black" Height="22.8" Margin="1,0,4,4" Name="drpOutputType" VerticalAlignment="Bottom" />
                    </Grid>
                </GroupBox>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,17.2,86,0" Name="btnNew" VerticalAlignment="Top" Width="143">New Registration</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,46.2,86,0" Name="btnDelete" VerticalAlignment="Top" Width="143">Delete Registration</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,17.2,4,0" Name="btnClose" VerticalAlignment="Top" Width="77">Close</Button>
                <!--<ListView Margin="4,108,327,0" Name="grdLetters" />-->
                <telerik:RadGridView Margin="4,108,327,0" Name="grdLetters" />
                <GroupBox Header="Letterpacks where used..." HorizontalAlignment="Right" Margin="0,102,6,0" Name="GroupBox3" Width="315">
                    <Grid>
                        <ListView Margin="6" Name="lvwWhereUsed" >
                            <ListView.View >
                                <GridView >
                                    <GridView.Columns >
                                        <GridViewColumn Header="Id" Width="40" DisplayMemberBinding="{Binding Path=LetterLink_LetterPackID}"></GridViewColumn>
                                        <GridViewColumn Header="Letterpack" Width="80" DisplayMemberBinding="{Binding Path=LetterPack_Name}"></GridViewColumn>
                                        <GridViewColumn Header="Output" Width="40" DisplayMemberBinding="{Binding Path=Output_Name}"></GridViewColumn>
                                        <GridViewColumn Header="Client" Width="40" DisplayMemberBinding="{Binding Path=ctype}"></GridViewColumn>
                                        <GridViewColumn Header="Copies" Width="40" DisplayMemberBinding="{Binding Path=LetterLink_Copies}"></GridViewColumn>
                                    </GridView.Columns>
                                </GridView>
                            </ListView.View>
                        </ListView>
                    </Grid>
                </GroupBox>
            </Grid>
        </GroupBox>
    </Grid>
</Window>
